<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let a;
    let b;
    const x = (1 + 2, 1 + 3, 2 + 4);
    const y = (a = 2, b = 3, a + b);

    console.log(x, y);
  </script>
</body>

</html>